<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>6.indexOf</title>
	</head>
	<body>
		<script type="text/javascript" >
			let str = 'abcdef'

			const result = str.indexOf('')
			console.log(result)
		</script>
	</body>
</html>